package com.lifa.dao;


import com.lifa.entity.Dianpu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DianpuDao {
    /**
     * 查询全部
     * @return
     */
    public List<Dianpu> selectDianpu();

    /**
     * 查询总条数
     * @return
     */
    public long Dianpuzongtiaoshu();

    public List<Dianpu> Dianpufenye(@Param("offset") int offset, @Param("limit") int limit);

}
